package com.lidong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * @Description : Feign断路器演示
 * @Author : lidong
 * @Date : 2017年11月9日
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableHystrix
@EnableHystrixDashboard
public class SpringcloudsoftServiceFeignHystrixApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringcloudsoftServiceFeignHystrixApplication.class, args);
	}
}
